import { App } from 'vue';
import { createRouter, createWebHashHistory} from 'vue-router'
import routes from './routes'

const router = createRouter({
  history: createWebHashHistory(),
  routes: routes
});

export default router;

export function setupRouter(app: App): void {
  app.use(router);
}
